package daoImpl;

import java.util.ArrayList;
import java.util.List;

import model.Member;
import dao.MemberDao;


public class MemberDaoImpl implements MemberDao{
	
	public List<Member>	members	= new ArrayList<Member>();
	
	
	public void add( Member member ) {
		members.add( member );
	}
	
	public List<Member> getMembers(){
		return members;
	}
	
	public void delete( Member member ) {
		members.remove( member );
	}
	
	
	public void update( Member member ) {
	}

	@Override
	public void setMemento( List<Member> members ) {
		this.members = members;
	}
}
